import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
	  isCollapse: false,
      skin: 'skin-black'
  },
  mutations: {
    toggleCollapse(state, type){
        state.isCollapse = !state.isCollapse;
    },
    changeSkin(state, type){
      state.skin = `skin-${type}`;
    }
  },
  actions: {
  },
  modules: {
  }
})
